class Payment < ActiveRecord::Base
  belongs_to :order
  
  
    #====== validations =========
  validates_presence_of :amount,:date,:tx_code
  validates_numericality_of :amount
end
